import Vue from 'vue'
import App from './App.vue'

//导入路由
// import router from './router/index.js'
import router from '@/router'

//导入 axios
import axios from '@/api'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import '@/styles/index.less'

//自己封装的插件
import plugin from '@/plugin'
Vue.use(plugin)

Vue.prototype.$http = axios;

Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
